Intersoft.Client.Framework.Containers Namespace > IDependencyRegistrar Interface > Register Method : Register<TType>(String,Func<IDependencyResolver,TType>) Method |
Overloads Function Register(Of TType As Class)( _ ByVal name As String, _ ByVal func As Func(Of IDependencyResolver,TType) _ ) As IRegistration
Dim instance As IDependencyRegistrar Dim name As String Dim func As Func(Of IDependencyResolver,TType) Dim value As IRegistration value = instance.Register(Of TType)(name, func)
IRegistration Register<TType>( string name, Func<IDependencyResolver,TType> func ) where TType: class
IRegistration^ Registergeneric<typename TType> ( String^ name, Func<IDependencyResolver^,TType^>^ func ) where TType: ref class
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2